package org.dromara.bean.domain.vo;

import org.dromara.bean.domain.HisDep;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 医院科室视图对象 his_dep
 *
 * @author Lion Li
 * @date 2024-10-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HisDep.class)
public class HisDepVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 父级id
     */
    @ExcelProperty(value = "父级id")
    private Long parentId;

    @ExcelProperty(value = "图片地址")
    private String photo;



    @ExcelProperty(value = "是否展示")
    private String shows;

    @ExcelProperty(value = "排序顺序")
    private String sorts;

    @ExcelProperty(value = "科室电话")
    private String mobile;

    @ExcelProperty(value = "科室介绍")
    private String intro;

    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "photo")
    private String photoUrl;
}
